using System.Drawing;

namespace CosyTrade.ClientForm
{
    public partial class ImageSee : DevExpress.XtraEditors.XtraForm
    {
        public ImageSee()
        {
            InitializeComponent();
        }

        private Image showImage;

        public Image ShowImage
        {
            get { return showImage; }
            set 
            { 
                showImage = value;
                if (showImage == null) return;
                Width = showImage.Width;
                Height = showImage.Height + 30;
                pictureEdit1.Image = showImage;
            }
        }
    }
}